package io.renren.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.dao.CoupondetailDao;
import io.renren.entity.CoupondetailEntity;
import io.renren.service.CoupondetailService;

import org.springframework.stereotype.Service;

import java.util.List;


@Service("coupondetailService")
public class CoupondetailServiceImpl extends ServiceImpl<CoupondetailDao, CoupondetailEntity> implements CoupondetailService {

    @Override
    public List<CoupondetailEntity> queryList(Integer userid){

        List<CoupondetailEntity> coupondetailEntities = baseMapper.getList(userid);
        return coupondetailEntities;
    }

}
